﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Top.Net
{
    public class User
    {

        /// <summary>
        /// 用户id
        /// </summary>
        public long UserId
        {
            get;
            set;
        }

        /// <summary>
        /// 用户昵称
        /// </summary>
        public string Nick
        {
            get;
            set;
        }

        /// <summary>
        /// m(男),f(女)
        /// </summary>
        public string Sex
        {
            get;
            set;
        }

        /// <summary>
        /// 买家信用
        /// </summary>
        public UserCredit Buyer_Credit
        {
            get;
            set;
        }

        /// <summary>
        /// 卖家信用
        /// </summary>
        public UserCredit Seller_Credit
        {
            get;
            set;
        }

        /// <summary>
        /// 用户当前居住地公开信息
        /// </summary>
        public Location Location
        {
            get;
            set;
        }

        /// <summary>
        /// 用户注册时间。格式:yyyy-MM-dd HH:mm:ss
        /// </summary>
        public DateTime Created
        {
            get;
            set;
        }

        /// <summary>
        /// 最近登陆时间。格式:yyyy-MM-dd HH:mm:ss 
        /// </summary>
        public DateTime Last_Visit
        {
            get;
            set;
        }

        /// <summary>
        /// 生日
        /// </summary>
        public DateTime BirthDay
        {
            get;
            set;
        }

        /// <summary>
        /// 用户类型。可选值:B(B商家),C(C商家)
        /// </summary>
        public BussinessType Type
        {
            get;
            set;
        }

        /// <summary>
        /// 是否购买多图服务。可选值:true(是),false(否)
        /// </summary>
        public bool Has_More_Pic
        {
            get;
            set;
        }
        /// <summary>
        /// 可上传商品图片数量
        /// </summary>
        public int Item_Img_Num
        { 
            get; 
            set; 
        }
        /// <summary>
        /// 单张商品图片最大容量。单位:k
        /// </summary>
        public int Item_Img_Size
        { 
            get; 
            set; 
        }
        /// <summary>
        /// 可上传属性图片数量
        /// </summary>
        public int Prop_Img_Num
        { 
            get; 
            set; 
        }

        /// <summary>
        /// 单张销售属性图片最大容量。单位:k
        /// </summary>
        public int Prop_Img_Size
        { 
            get; 
            set; 
        }

        /// <summary>
        /// 是否受限制。可选值:limited(受限制),unlimited(不受限)
        /// </summary>
        public AutoRepost Auto_Repost
        {
            get;
            set;
        }

        /// <summary>
        /// 有无实名认证。可选值:authentication(实名认证),not authentication(没有认证)
        /// </summary>
        public PromotedType Promoted_Type
        {
            get;
            set;
        }

        /// <summary>
        /// 状态。可选值:normal(正常),inactive(未激活),delete(删除),reeze(冻结),supervise(监管)
        /// </summary>
        public Status Status
        {
            get;
            set;
        }
        /// <summary>
        /// 有无绑定。可选值:bind(绑定),notbind(未绑定)
        /// </summary>
        public AlipayBind Alipay_Bind
        { 
            get; 
            set;
        }

        /// <summary>
        /// 是否参加消保 
        /// </summary>
        public bool Consumer_Protection
        { 
            get; 
            set; 
        }
    }
}
